/*
 * @Author: CemCode cemoment@aliyun.com
 * @Date: 2022-04-13 16:57:25
 * @LastEditors: CemCode cemoment@aliyun.com
 * @LastEditTime: 2022-07-21 23:20:23
 * @FilePath: \vue-blog-2\src\api\desk\index.js
 * @Description: 
 * 
 * Copyright (c) 2022 by CemCode cemoment@aliyun.com, All Rights Reserved. 
 */
import request from '../../utils/request';

// 获取文章列表
export const $getArticleList = params =>{
    return request.get(`/public/api/list`,{params})
}

// 获取文章标签信息
export const $articleLabels = () => request.get("/public/api/labels")

// 获取文章类型信息
export const $articleTypes = () => request.get("/public/api/types")

// 获取文章详细信息
export const $getArticleByID = params=> request.get(`/public/api/article`,{params})

// 获取服务器信息
export const $serverInfo = ()=> request.get("/public/api/server_info")

// 获取文章列表基本信息(归档)
export const $articleInfo = ()=> request.get("/public/api/article_info")